#pragma once
#include "istatu.h"
#include "PhoneBookData.h"
#include "ListCtrl.h"
#include "CStaticText.h"
#include "CEdit.h"
#include "CSlider.h"
class CPhoneBookListStatu :
	public IStatu
{
public:
	CPhoneBookListStatu(WCHAR * name);
	~CPhoneBookListStatu(void);
	virtual bool EnterStatu();

	virtual bool ExitStatu();

	virtual bool EvaluateClickEvent(const WCHAR* elementName);

	virtual bool EvaluateDBClickEvent(const WCHAR* elementName);
	bool ExportPhoneNumber();
	bool ImportPhoneNumber();
	void SetPhoneNumList();

	bool downclick();
	bool upclick();
   	void  LoadPhoneBook(map<wstring,wstring>& mapItem);
 //  CPhoneBookData *m_pPhoneBook;
  
  CListCtrl *m_pList;
  CSlider   *m_pSlider;
  int m_nPageCount;
  int m_nPageIndex;

};
